package com.qf.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qf.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.entity.request.ProductRequest;
import com.qf.entity.response.ProductResponse;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author chen
 * @since 2021-03-18
 */
public interface ProductMapper extends BaseMapper<Product> {

    Page<ProductResponse> selectListForPage(@Param("productIPage") IPage<ProductResponse> productIPage,
                                            @Param("request") ProductRequest request);
}
